<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require ("db_conn.php");//包含连接文件

$id=isset($_GET['id'])?$_GET['id']:-1;

if ($id==-1)
{
   header("location:talent.php"); 
}
$sql="SELECT * FROM t6_rlzyWHERE id =$id";   //写新闻查询语句  
$xwrs=$db->query($sql); //执行语句  $rs是一个结果集
$rows=$xwrs->fetch_array(MYSQLI_BOTH);   // 取一条 

//释放结果集



$xwrs->free();

//关闭数据库
require 'details_html.php';
